package com.dwxt.cdms.constant;

import java.util.ArrayList;
import java.util.List;

public class ReceiveDataType {

    //心率
    public static final String HEARTBEAT = "6";
    //血糖
    public static final String BLOOD_SUGAR = "10";
    //血压
    public static final String BLOOD_PRESSURE = "8";
    //血氧
    public static final String BLOOD_OXYGEN = "13";
    //温度
    public static final String TEMPERATURE = "12";
    //双温
    public static final String DOUBLE_TEMPERATURE = "14";
    //计步
    public static final String STEP = "4";
    //睡眠
    public static final String SLEEP = "58";
    //签到
    public static final String SIGN_IN = "24";
    //签退
    public static final String SIGN_OUT = "25";
    //GPS
    public static final String GPS = "16";
    //WIFI
    public static final String WIFI = "5";
    //蓝牙
    public static final String BLUETOOTH = "59";
    //基站
    public static final String BASE_STATION = "3";
    //低电量报警
    public static final String LOW_ELECTRICITY = "18";
    //SOS报警
    public static final String SOS = "19";
    //SOS报警取消
    public static final String SOS_CANCEL = "56";
    //关机报警
    public static final String SHUT_DOWN = "20";
    //摘除报警
    public static final String REMOVE = "21";
    //心率报警
    public static final String HEART_WARN = "22";
    //温度报警
    public static final String TEMPERATURE_WARN = "23";
    //LBS报警
    public static final String LBS = "1";
    /*******************************poct 数据类型****************************************/
    //尿酸
    public static final String  URICACID = "uricacid";
    //血酮
    public static final String KETONE = "ketone";
    //总胆固醇
    public static final String BILE = "bile";
    //甘油三酯
    public static final String GLYCEROL = "glycerol";
    //低密度蛋白
    public static final String DDENSITY = "ddensity";
    //高密度蛋白
    public static final String UDENSITY = "udensity";

    //需要报警的类型
    public static List<String> needWarnList = new ArrayList<>();
    //不需要报警的类型
    public static List<String> notNeedWarnList = new ArrayList<>();
    //warn类型
    public static List<String> warnList = new ArrayList<>();
    //位置类型
    public static List<String> locList = new ArrayList<>();

    static {
        needWarnList.add(HEARTBEAT);
        needWarnList.add(BLOOD_SUGAR);
        needWarnList.add(BLOOD_PRESSURE);
        needWarnList.add(TEMPERATURE);
        needWarnList.add(DOUBLE_TEMPERATURE);

        needWarnList.add(URICACID);
        needWarnList.add(KETONE);
        needWarnList.add(BILE);
        needWarnList.add(GLYCEROL);
        needWarnList.add(DDENSITY);
        needWarnList.add(UDENSITY);

        notNeedWarnList.add(STEP);
        notNeedWarnList.add(SLEEP);
        notNeedWarnList.add(SIGN_IN);
        notNeedWarnList.add(SIGN_OUT);
        notNeedWarnList.add(TEMPERATURE);
        notNeedWarnList.add(TEMPERATURE_WARN);

        warnList.add(LOW_ELECTRICITY);
        warnList.add(SOS);
        warnList.add(SOS_CANCEL);
        warnList.add(SHUT_DOWN);
        warnList.add(REMOVE);

        //warnList.add(HEART_WARN);
        //warnList.add(TEMPERATURE_WARN);
        //warnList.add(LBS);

        locList.add(GPS);
        locList.add(WIFI);
        locList.add(BLUETOOTH);
        locList.add(BASE_STATION);
    }

}
